The Space Complexity of 2-Dimensional Approximate Range Counting
نویسندگان
چکیده
We study the problem of 2-dimensional orthogonal range counting with additive error. Given a set P of n points drawn from an n× n grid and an error parameter ε, the goal is to build a data structure, such that for any orthogonal range R, the data structure can return the number of points in P ∩ R with additive error εn. A well-known solution for this problem is the εapproximation. Informally speaking, an ε-approximation of P is a subset A ⊆ P that allows us to estimate the number of points in P ∩ R by counting the number of points in A ∩ R. It is known that an ε-approximation of size O( ε log 1 ε ) exists for any P with respect to orthogonal ranges, and the best lower bound is Ω( ε log 1 ε ). The ε-approximation is a rather restricted data structure, as we are not allowed to store any information other than the coordinates of a subset of points in P . In this paper, we explore what can be achieved without any restriction on the data structure. We first describe a data structure that uses O( ε log 1 ε log log 1 ε logn) bits that answers queries with error εn. We then prove a lower bound that any data structure that answers queries with error O(log n) must use Ω(n logn) bits. This lower bound has two consequences: 1) answering queries with error O(log n) is as hard as answering the queries exactly; and 2) our upper bound cannot be improved in general by more than an O(log log 1 ε ) factor.
منابع مشابه
Approximate Orthogonal Range Search using Patricia Tries
We use Patricia tries to answer 2-approximate orthogonal range search on a set of n random points and rectangles in k-dimensional space. Given n k-dimensional random points or rectangles and a k-dimensional query rectangle, 2-approximate orthogonal range query counts (or reports) the points in the query rectangle or the rectangles intersecting the query rectangle, allowing errors near the bound...
متن کاملColored Range Queries and Document Retrieval
Colored range queries are a well-studied topic in computational geometry and database research that, in the past decade, have found exciting applications in information retrieval. In this paper we give improved time and space bounds for three important one-dimensional colored range queries — colored range listing, colored range top-k queries and colored range counting — and, thus, new bounds fo...
متن کاملOn Geometric Range Searching, Approximate Counting and Depth Problems
In this thesis we deal with problems connected to range searching, which is one of the central areas of computational geometry. The dominant problems in this area are halfspace range searching, simplex range searching and orthogonal range searching and research into these problems has spanned decades. For many range searching problems, the best possible data structures cannot offer fast (i.e., ...
متن کاملRange Counting with Distinct Constraints
In this paper we consider a special case of orthogonal point counting queries, called queries with distinct constraints. A d-dimensional orthogonal query range Q = [b1, b2]× [b3, b4]× . . .× [b2d−1, b2d] is a range with r distinct constraints if there are r distinct values among b1, b2, . . ., b2d. We describe a data structure that supports orthogonal range counting queries with r distinct cons...
متن کاملFast Algorithms for D Dominance Reporting and Counting
We present in this paper fast algorithms for the D dominance reporting and counting problems and generalize the results to the d dimensional case Our D dominance reporting algorithm achieves O log n log log n f query time using O n log n space where f is the number of points satisfying the query and is an arbitrarily small constant For the D dominance counting problem which is equivalent to the...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2013